package com.companyName.sample.common.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ServletComponentScan(basePackages = "com.companyName.sample.rest.config")
@ComponentScan(basePackages="com.companyName.sample.rest,com.companyName.sample.service,com.companyName.sample.data")
public class Application  {

	private static final Logger logger = LoggerFactory.getLogger(Application.class);



    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }


}
